package com.probox.common.entity.domain.centre;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.probox.common.core.annotation.Excel;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * 用户行为日志对象 product_operation_detail
 *
 *
 * @date 2021-06-08
 */
@Data
@NoArgsConstructor
@Accessors(chain = true)
@TableName("product_operation_detail")
public class ProductOperationDetail implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * $column.columnComment
     */
    //默认主键自增
    @TableId(value = "detail_uid", type = IdType.AUTO)
    private Long detailUid;
    /**
     * 对象ID
     */
    @Excel(name = "对象ID")
    private Long productUid;
    /**
     * 对象名称
     */
    @Excel(name = "对象名称")
    private String productName;
    /**
     * 对象图片
     */
    @Excel(name = "对象图片")
    private String productUrl;
    /**
     * 操作类型 view,collect,comment,buy,share,cancle,refund,barter
     */
    @Excel(name = "操作类型 view,collect,comment,buy,share,cancle,refund,barter")
    private String optType;
    /**
     * 数量
     */
    @Excel(name = "数量")
    private Integer objNumber;
    /**
     * 用户ID
     */
    @Excel(name = "用户ID")
    private Long memberUid;
    /**
     * 用户昵称
     */
    @Excel(name = "用户昵称")
    private String memberNickName;
    /**
     * 用户头像
     */
    @Excel(name = "用户头像")
    private String memberHeadImg;
    /**
     * 操作日期
     */
    private Date createTime;
    /**
     * 平台ID
     */
    @Excel(name = "平台ID")
    private Long platformUid;

}
